package com.crm.model.entity.userForumManager;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserForumReplyExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UserForumReplyExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserForumReplyIdIsNull() {
            addCriterion("user_forum_reply_id is null");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdIsNotNull() {
            addCriterion("user_forum_reply_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdEqualTo(String value) {
            addCriterion("user_forum_reply_id =", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdNotEqualTo(String value) {
            addCriterion("user_forum_reply_id <>", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdGreaterThan(String value) {
            addCriterion("user_forum_reply_id >", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdGreaterThanOrEqualTo(String value) {
            addCriterion("user_forum_reply_id >=", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdLessThan(String value) {
            addCriterion("user_forum_reply_id <", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdLessThanOrEqualTo(String value) {
            addCriterion("user_forum_reply_id <=", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdLike(String value) {
            addCriterion("user_forum_reply_id like", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdNotLike(String value) {
            addCriterion("user_forum_reply_id not like", value, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdIn(List<String> values) {
            addCriterion("user_forum_reply_id in", values, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdNotIn(List<String> values) {
            addCriterion("user_forum_reply_id not in", values, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdBetween(String value1, String value2) {
            addCriterion("user_forum_reply_id between", value1, value2, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andUserForumReplyIdNotBetween(String value1, String value2) {
            addCriterion("user_forum_reply_id not between", value1, value2, "userForumReplyId");
            return (Criteria) this;
        }

        public Criteria andForumIdIsNull() {
            addCriterion("forum_id is null");
            return (Criteria) this;
        }

        public Criteria andForumIdIsNotNull() {
            addCriterion("forum_id is not null");
            return (Criteria) this;
        }

        public Criteria andForumIdEqualTo(String value) {
            addCriterion("forum_id =", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdNotEqualTo(String value) {
            addCriterion("forum_id <>", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdGreaterThan(String value) {
            addCriterion("forum_id >", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdGreaterThanOrEqualTo(String value) {
            addCriterion("forum_id >=", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdLessThan(String value) {
            addCriterion("forum_id <", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdLessThanOrEqualTo(String value) {
            addCriterion("forum_id <=", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdLike(String value) {
            addCriterion("forum_id like", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdNotLike(String value) {
            addCriterion("forum_id not like", value, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdIn(List<String> values) {
            addCriterion("forum_id in", values, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdNotIn(List<String> values) {
            addCriterion("forum_id not in", values, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdBetween(String value1, String value2) {
            addCriterion("forum_id between", value1, value2, "forumId");
            return (Criteria) this;
        }

        public Criteria andForumIdNotBetween(String value1, String value2) {
            addCriterion("forum_id not between", value1, value2, "forumId");
            return (Criteria) this;
        }

        public Criteria andReplyLevelIsNull() {
            addCriterion("reply_level is null");
            return (Criteria) this;
        }

        public Criteria andReplyLevelIsNotNull() {
            addCriterion("reply_level is not null");
            return (Criteria) this;
        }

        public Criteria andReplyLevelEqualTo(Integer value) {
            addCriterion("reply_level =", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelNotEqualTo(Integer value) {
            addCriterion("reply_level <>", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelGreaterThan(Integer value) {
            addCriterion("reply_level >", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("reply_level >=", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelLessThan(Integer value) {
            addCriterion("reply_level <", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelLessThanOrEqualTo(Integer value) {
            addCriterion("reply_level <=", value, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelIn(List<Integer> values) {
            addCriterion("reply_level in", values, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelNotIn(List<Integer> values) {
            addCriterion("reply_level not in", values, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelBetween(Integer value1, Integer value2) {
            addCriterion("reply_level between", value1, value2, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("reply_level not between", value1, value2, "replyLevel");
            return (Criteria) this;
        }

        public Criteria andReplyContentIsNull() {
            addCriterion("reply_content is null");
            return (Criteria) this;
        }

        public Criteria andReplyContentIsNotNull() {
            addCriterion("reply_content is not null");
            return (Criteria) this;
        }

        public Criteria andReplyContentEqualTo(String value) {
            addCriterion("reply_content =", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentNotEqualTo(String value) {
            addCriterion("reply_content <>", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentGreaterThan(String value) {
            addCriterion("reply_content >", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentGreaterThanOrEqualTo(String value) {
            addCriterion("reply_content >=", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentLessThan(String value) {
            addCriterion("reply_content <", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentLessThanOrEqualTo(String value) {
            addCriterion("reply_content <=", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentLike(String value) {
            addCriterion("reply_content like", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentNotLike(String value) {
            addCriterion("reply_content not like", value, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentIn(List<String> values) {
            addCriterion("reply_content in", values, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentNotIn(List<String> values) {
            addCriterion("reply_content not in", values, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentBetween(String value1, String value2) {
            addCriterion("reply_content between", value1, value2, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyContentNotBetween(String value1, String value2) {
            addCriterion("reply_content not between", value1, value2, "replyContent");
            return (Criteria) this;
        }

        public Criteria andReplyPidIsNull() {
            addCriterion("reply_pid is null");
            return (Criteria) this;
        }

        public Criteria andReplyPidIsNotNull() {
            addCriterion("reply_pid is not null");
            return (Criteria) this;
        }

        public Criteria andReplyPidEqualTo(String value) {
            addCriterion("reply_pid =", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidNotEqualTo(String value) {
            addCriterion("reply_pid <>", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidGreaterThan(String value) {
            addCriterion("reply_pid >", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidGreaterThanOrEqualTo(String value) {
            addCriterion("reply_pid >=", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidLessThan(String value) {
            addCriterion("reply_pid <", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidLessThanOrEqualTo(String value) {
            addCriterion("reply_pid <=", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidLike(String value) {
            addCriterion("reply_pid like", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidNotLike(String value) {
            addCriterion("reply_pid not like", value, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidIn(List<String> values) {
            addCriterion("reply_pid in", values, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidNotIn(List<String> values) {
            addCriterion("reply_pid not in", values, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidBetween(String value1, String value2) {
            addCriterion("reply_pid between", value1, value2, "replyPid");
            return (Criteria) this;
        }

        public Criteria andReplyPidNotBetween(String value1, String value2) {
            addCriterion("reply_pid not between", value1, value2, "replyPid");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdIsNull() {
            addCriterion("one_reply_id is null");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdIsNotNull() {
            addCriterion("one_reply_id is not null");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdEqualTo(String value) {
            addCriterion("one_reply_id =", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdNotEqualTo(String value) {
            addCriterion("one_reply_id <>", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdGreaterThan(String value) {
            addCriterion("one_reply_id >", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdGreaterThanOrEqualTo(String value) {
            addCriterion("one_reply_id >=", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdLessThan(String value) {
            addCriterion("one_reply_id <", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdLessThanOrEqualTo(String value) {
            addCriterion("one_reply_id <=", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdLike(String value) {
            addCriterion("one_reply_id like", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdNotLike(String value) {
            addCriterion("one_reply_id not like", value, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdIn(List<String> values) {
            addCriterion("one_reply_id in", values, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdNotIn(List<String> values) {
            addCriterion("one_reply_id not in", values, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdBetween(String value1, String value2) {
            addCriterion("one_reply_id between", value1, value2, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andOneReplyIdNotBetween(String value1, String value2) {
            addCriterion("one_reply_id not between", value1, value2, "oneReplyId");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNull() {
            addCriterion("delete_status is null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIsNotNull() {
            addCriterion("delete_status is not null");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusEqualTo(Integer value) {
            addCriterion("delete_status =", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotEqualTo(Integer value) {
            addCriterion("delete_status <>", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThan(Integer value) {
            addCriterion("delete_status >", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("delete_status >=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThan(Integer value) {
            addCriterion("delete_status <", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusLessThanOrEqualTo(Integer value) {
            addCriterion("delete_status <=", value, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusIn(List<Integer> values) {
            addCriterion("delete_status in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotIn(List<Integer> values) {
            addCriterion("delete_status not in", values, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusBetween(Integer value1, Integer value2) {
            addCriterion("delete_status between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andDeleteStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("delete_status not between", value1, value2, "deleteStatus");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNull() {
            addCriterion("create_people_id is null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIsNotNull() {
            addCriterion("create_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdEqualTo(String value) {
            addCriterion("create_people_id =", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotEqualTo(String value) {
            addCriterion("create_people_id <>", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThan(String value) {
            addCriterion("create_people_id >", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("create_people_id >=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThan(String value) {
            addCriterion("create_people_id <", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("create_people_id <=", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdLike(String value) {
            addCriterion("create_people_id like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotLike(String value) {
            addCriterion("create_people_id not like", value, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdIn(List<String> values) {
            addCriterion("create_people_id in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotIn(List<String> values) {
            addCriterion("create_people_id not in", values, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdBetween(String value1, String value2) {
            addCriterion("create_people_id between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("create_people_id not between", value1, value2, "createPeopleId");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNull() {
            addCriterion("update_people_id is null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIsNotNull() {
            addCriterion("update_people_id is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdEqualTo(String value) {
            addCriterion("update_people_id =", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotEqualTo(String value) {
            addCriterion("update_people_id <>", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThan(String value) {
            addCriterion("update_people_id >", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdGreaterThanOrEqualTo(String value) {
            addCriterion("update_people_id >=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThan(String value) {
            addCriterion("update_people_id <", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLessThanOrEqualTo(String value) {
            addCriterion("update_people_id <=", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdLike(String value) {
            addCriterion("update_people_id like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotLike(String value) {
            addCriterion("update_people_id not like", value, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdIn(List<String> values) {
            addCriterion("update_people_id in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotIn(List<String> values) {
            addCriterion("update_people_id not in", values, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdBetween(String value1, String value2) {
            addCriterion("update_people_id between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdatePeopleIdNotBetween(String value1, String value2) {
            addCriterion("update_people_id not between", value1, value2, "updatePeopleId");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}